package com.lzh.utils;

import java.util.function.Consumer;
import java.util.function.Supplier;

/**
 * @author: lizhihua
 */
public class ControllerUtils {
    public  static <E> ResponseResult<E> responseOkResult(Supplier<E> supplier) {
        return ResponseResult.success(supplier.get());
    }
}
